home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
vdtwn
/
tvf
/
asmhd6
/
tw2hd6
/
h_dg.hd6
< prev
next >
Wrap
Text File
|
1993-07-08
|
1KB
|
98 lines
ds_name db '\KOMEI\実物\tvf_prg\H_DG',0
paint_wd:
re_paint:
mouse_in:
ret
be_called:
push 0110h
pop fs
xor ah,ah ; EGB初期化
; lea edi,EGB_WORK
; mov ecx,1536
; call pword ptr fs:[EGB]
mov ax,0100h; 仮想画面の設定
mov dx,9
call zzz ;pword ptr fs:[EG]
mov ax,0101h
mov dx,9
call zzz ;pword ptr fs:[EG]
mov ax,0500h; 書き込みページの設定(ページ0)
call zzz ;pword ptr fs:[EG]
mov ax,0601h; 表次頁の設定(ページ1優先)
mov edx,11b
call zzz ;pword ptr fs:[EG]
mov ax,1B01h; ディジタイズ指定
call zzz ;pword ptr fs:[EG]
; xor ah,ah ; MouseBios初期化
; lea edi,MOUSE_WORK
; mov ecx,4096
; call pword ptr fs:[MB]
mov ah,7 ;水平移動範囲指定
mov dx,0
mov bx,180
call MOUSE ;pword ptr fs:[MB]
mov ah,8 ;垂直移動範囲指定
mov dx,0
mov bx,120
call MOUSE ;pword ptr fs:[MB]
init_1:
push ebp
push ds
push es
mov ax,1Ch ; 画面クリア
mov ds,ax
mov es,ax
mov eax,10000000000000001000000000000000b
mov edi,40000h
mov ebx,360*2/4
mov edx,400h-(360*2)
mov ebp,240
; align 4
rep_: mov ecx,ebx
rep stosd
add edi,edx
dec ebp
jne rep_
mov ax,0101h; キ-ボ-ド関係設定
int 90h
pop es
pop ds
pop ebp
ret
zzz:
M_ZZZ
look_me:
call sub_esi
dd 0,0
dw 0,0,10,42,20,39,15,1,0,0